home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 August / Macworld (1999-08).dmg / From Macworld Readers / FREE Scripts / FREE Guides / FREE Guide Macintosh / FREE Guide • Macintosh 3.1.sea / FREE Guide • Macintosh 3.1.rsrc / TEXT_137.txt < prev    next >
Text File  |  1998-12-04  |  20KB  |  323 lines

  1.  
  2.  
  3.  
  4.  
  5. MOVIES
  6.  
  7.  
  8.  
  9. QuickTime
  10. qqqqqqqq
  11.  
  12.  
  13. ¬†             Apple‚Äôs QuickTime software allows a relatively slow Mac or Windows PC to handle 
  14.                rapidly changing video or sound material in real time. QuickTime allows other 
  15.                applications to play  movies and to perform other QuickTime operations.
  16.  
  17.  
  18.  
  19. What QuickTime Provides
  20. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  21.  
  22. QuickTime is a system extension ‚Äî to use it you must put the QuickTime‚Ñ¢ file in the Extensions file and restart your computer. Having done this, any QuickTime-aware application, such as SimpleText or MoviePlayer, will be able to play movie files ‚Äî and more! With QuickTime installed any suitable applications can:-
  23.  
  24.           ‚Ä¢  Play QuickTime movies with any combination of pictures and synchronised 
  25.                sound tracks or MIDI sequences
  26.  
  27.           ‚Ä¢  Play MIDI data in movies to external MIDI devices via a MIDI box, using MIDI 
  28.                Manager (Apple), Open Midi System (Opcode) or FreeMIDI (Mark of the Unicorn) 
  29.  
  30.           ‚Ä¢  Play MIDI data in movies on the Mac itself using the standard MIDI instruments 
  31.                in the QuickTime‚Ñ¢ Musical Instruments file  ‚Äî with CD-quality On a PowerMac
  32.  
  33.           ‚Ä¢  Play Karaoke files
  34.  
  35.           ‚Ä¢  Use compression codecs to reduce the amount or rate of data needed for images 
  36.                ‚Äî with various compromises in quality
  37.  
  38.           ‚Ä¢  Create preview images in standard file open dialogs
  39.  
  40.           ‚Ä¢  Sample sounds in mono or stereo at any sample rate using 8- or 16-bits per sample 
  41.               with optional compression
  42.  
  43.           ‚Ä¢  Import or export sound files in many formats
  44.  
  45.           ‚Ä¢  Import sound files from a specified portion of an audio CD
  46.  
  47.           ‚Ä¢  Provide hue, saturation, brightness, sharpness, black level and white level controls
  48.  
  49.           ‚Ä¢  Provide sound controls to enable either speaker or to adjust overall volume
  50.  
  51.           ‚Ä¢  Use QuickTime compression or expansion when saving or opening PICT files.
  52.  
  53.  
  54. QuickTime accepts video signals to the American NTSC, European PAL or French SECAM television standards at frame rates of 8, 10, 12, 15, 24, 25 and 30 frames per second (frm/s).
  55. It also includes filtering to accommodate material from television (TV) and LaserDisk or from a video cassette recorder (VCR).
  56.  
  57. √π See the Music chapter for more about MIDI and musical sequences
  58.  
  59.  
  60.  
  61. Playing a Movie in a QuickTime Application
  62. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  63.  
  64. ¬†              When playing a movie file, QuickTime trys to play successive frames at the 
  65.                intended speed (frame rate). If a Mac can‚Äôt cope, some data is skipped to maintain 
  66.                timing ‚Äî this can cause jerky images or sound break-up. QuickTime drops video 
  67.                frames in preference to sound data to minimise the subjective disruption. 
  68.  
  69. How your Mac performs with such a file depends on its processor speed, drive speed, the nature of the movie (image size, colour depth and frame rate), the presence of a soundtrack and the chosen compression codec.
  70.  
  71.  
  72.  
  73. QuickTime Codecs
  74. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  75.  
  76. ¬†             QuickTime incorporates several different coding/encoding algorithms (codecs), 
  77.               each designed for compressing and expanding different kinds of material to best 
  78.               advantage. At the time of writing the following codecs are used:-
  79.  
  80.               Animation: uses standard Run Length Encoding (RLE) compression
  81.               Cinepak: for high frame rates where processing time is unimportant
  82.               Component Video: for use with YUV signals
  83.               Graphics: optimal for 8-bit dithered images
  84.               Motion JPEG A
  85.               Motion JPEG B
  86.               None
  87.               Photo-JPEG: baseline set by the International Standards Organisation (ISO)
  88.               Planar RGB
  89.               Video
  90.               Photo CD: decompressor for Kodak Photo-CDs
  91.  
  92.  
  93. Apart from Photo-JPEG these are all Apple products. Graphics, Photo-JPEG, Planar RGB and Photo CD are for stationary images ‚Äî the remainder can be used for movies.
  94.  
  95. The following notes on codecs may be useful:-
  96.  
  97.  
  98. JPEG and Motion JPEG                                                                                           
  99.  
  100. JPEG compression at the normal quality setting gives good results. Motion JPEGs (or M-JPEGs) use a series of JPEG images to create a full-motion video (FMV) movie ‚Äî this may require a special card inside your Mac. 
  101.  
  102.  
  103. Video and Cinepak                                                                                                 
  104.  
  105. With these codecs you should select the key frame rate checkbox. Each key frame contains a complete image that‚Äôs totally independent of any preceding frames.
  106.  
  107.  
  108. The frames between these key frames are created from earlier frames using inter-frame compression ‚Äî this can reduce size of a movie by half. For a small file simply choose a low key frame rate by entering a large number in the QuickTime Saving Options dialog. A low rate may cause the movie to jump more as you shuffle through it.
  109.  
  110. Both codecs give better results with a high key frame rate. Files produced with Cinepak are very small, give reasonable quality and colour reproduction and are particularly good for high frame rates ‚Äî but the compression process takes a very long time! Files created with the Video codec can be very large but are quick to process.
  111.  
  112.  
  113.  
  114.  
  115. MPEG Movies
  116. qqqqqqqqqq
  117.  
  118.  
  119. ¬†              The Motion Picture Experts Group (MPEG) have devised a universal standard for 
  120.                compressing moving video images. It can provide full-motion video (FMV) from 
  121.                CD-ROM, with a picture quality similar a high-performance video recorder.
  122.  
  123. FMV would normally need about 22 M of data per second of video. But with the MPEG-1 compression algorithm it‚Äôs possible to get good results from a single-speed CD-ROM, even though such as drive is limited to a data transfer rate of only 225 K per second.
  124.  
  125. √ë   MPEGs employ complex processes that take up a lot of time and memory!
  126.  
  127. √ë   To work with MPEGs you must have a MPEG card ‚Äî or Apple‚Äôs promised new 
  128.           version of  QuickTime and a 100 MHz PowerMac or better (see below).
  129.  
  130. √ë   On some computers an MPEG image may be limited to only a quarter of a full screen
  131.           ‚Äî that‚Äôs 352 x 240 pixels.
  132.  
  133. √ë   Don‚Äôt confuse MPEGs with Motion JPEG (M-JPEG) files. An M-JPEG file requires a 
  134.           data rate of 3.7 Mbit/s compared to 1.5 Mbit/s for an equivalent MPEG.
  135.  
  136.  
  137. MPEG Frames                                                                                                        
  138.  
  139. The MPEG process treats each frame in a similar way to a JPEG, and then compresses the difference between successive frames ‚Äî this avoids recording too many complete frames. It does this by separating moving foreground objects from the stationary background. Only the motion of foreground objects is then recorded ‚Äî this is rather more advanced than the simple frame difference compression used by QuickTime.
  140.  
  141. MPEG movies use three types of frames:-
  142.  
  143.               I   :  Intra frame, compressed only in relation to the current frame itself 
  144.               P:  compressed relative to the previous frame
  145.               B:  compressed relative to both the previous frame and future frame
  146.  
  147. in which an Intra frame or I-frame is similar to the key frame used in QuickTime‚Äôs Video and Cinepak codecs. An MPEG movie made entirely of I-frames is easily encoded but the compression isn‚Äôt ideal. This form of MPEG is used on a PC where it‚Äôs known as an XING type MPEG. Such a file is usually slightly smaller than an equivalent M-JPEG file.
  148.  
  149. The Full MPEG process uses inter-frame compression to produce the smallest possible file. In order to know the contents of future frames the data is stored in a different order to that in which it‚Äôs displayed. This process requires the use of a buffer at the viewing end.
  150.  
  151. Officially, MPEGs should use one of eight frame rates, the lowest at 24 frm/s. In practice, low rates such as 16 or even 12 frm/s are used, although the results can look awful. Files that use these rates have the frame rate inside the file set to an irrelevant value!
  152.  
  153. √ë   Some MPEGs movies finish with two identical frames ‚Äî this is normal!
  154.  
  155. √ë   Duplicate frames can appear in material that‚Äôs converted from 24 frm/s to 30 frm/s.
  156.  
  157. √ë   An MPEG file containing green nonsense or earlier scenes throughout, has probably 
  158.          been downloaded from a remote site in ASCII format rather than binary format. 
  159.  
  160.  
  161. Other Features                                                                                                       
  162.  
  163. MPEG files can also contain sound tracks compressed using psycho-acoustic coding. This can use data rates of 192 kbit/s (comparable to CD quality), 128, 96 or 64 kbit/s. MPEGs can also contain sound samples in the .WAV  format used by Windows. Microsoft‚Äôs Video for Windows uses its own .AVI  files.
  164.  
  165.  
  166.  
  167.  
  168. Working with Video 
  169. qqqqqqqqqqqqqq
  170.  
  171.  
  172. Television Standards
  173. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  174.  
  175. ¬†               Before working with video equipment it‚Äôs useful to understand some of the 
  176.                 variations in technical standards that exist throughout the world. Although 
  177.                 some video recorders accommodate both American NTSC and European PAL or 
  178.                 SECAM cassette recordings, these machines aren‚Äôt universally used!
  179.  
  180. Each system uses its own colour-encoding method, horizontal line resolution and frame rate ‚Äî the latter measured in frames per second (frm/s). The common standards are:-
  181.  
  182.  
  183.        z  Cinema Film 24 frm/s
  184.               Standard films are often run at 25 frm/s for transmission in Europe.
  185.  
  186.        z  PAL 25 frm/s
  187.               The Phase Alternate Line standard is used in the European Broadcasting Union 
  188.               (EBU) and defined by the International Radio Consultative Committee (CCIR). The 
  189.               image has a standard aspect ratio with 625 horizontal lines. Not all of these lines
  190.               form part of the visible image ‚Äî the remaining lines are switched to black for the 
  191.               interframe blanking period. The French Sequential Colour with Memory (SECAM) 
  192.               system uses the same image size but employs a different colour encoding method. 
  193.               A digitised PAL or SECAM image occupies 768 x 576 pixels. 
  194.  
  195.        z  NTSC 30 frm/s
  196.               The American National Television System Committee (NTSC) standard for 
  197.               monochrome TV, or colour TV where precise time lock isn‚Äôt required. The image 
  198.               has a standard aspect ratio with 525 horizontal lines. Of these, 484 lines (or less) 
  199.               form part of the visible image, whilst the remaining 41 lines switched to black for 
  200.               the interframe blanking period. A digitised NTSC image occupies 640 x 480 pixels.
  201.  
  202.        z  NTSC 29.97 frm/s Drop Frame
  203.               A variant NTSC for colour TV, sometimes referred to as 30 frm/s even though it 
  204.               isn‚Äôt! The first two frames in every minute (but not on the tenth minute) are 
  205.               ‚Äòdropped‚Äô ‚Äî a total of 108 frames are dropped in every hour.
  206.  
  207.        z  NTSC 29.97 frm/s Non-Drop
  208.               An alternative version of NTSC in which one hour of ‚Äòvideo time‚Äô corresponds to 
  209.               one hour plus 3.6 hours of real time. This provides colour pictures without the 
  210.               complication of ‚Äòdropping‚Äô frames.
  211.  
  212. All broadcasting and domestic video systems use interlaced scanning. In this process each alternate horizontal line is created by alternate frame scans called odd and even frames. For example lines 20 and 22 are produced in one frame and lines 21 and 23 are created in the next. This improves the subjective flicker rate from 25 (or 30) to 50 (or 60) frames per second ‚Äî much easier on the eyes!
  213.  
  214.  
  215.  
  216. Video Hardware
  217. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  218.  
  219. ¬†             To create and edit movies, or to digitise images from a video input, requires 
  220.               special hardware. PowerMacs often have an inbuilt video tuner, but you may need 
  221.               a video input kit to connect a camera, video cassette recorder (VCR) or other device.
  222.  
  223. Besides this you‚Äôll certainly need a large (and fast!) disk drive and loads of RAM. To see your work at its best you‚Äôll also need a PAL or NTSC video monitor.
  224.  
  225. ¬∞  Don‚Äôt infringe television copyright!
  226.  
  227.  
  228. PowerMacs with Built-in Video                                                                                 
  229.  
  230. Top-flight PowerMacs come with composite and component video inputs and outputs ‚Äî plus mono and stereo audio inputs and outputs. These machines can handle images of 320 x 240 pixels at 30 frm/s ‚Äî equivalent to one quarter of a full NTSC screen with the same resolution as a low-resolution VGA monitor. However, this image can be magnified with the hardware zoom feature in the Monitors and Sound control panel ‚Äî for best matching to the screen try a setting of 256 x 192 pixels.
  231.  
  232. Video capture requires a hard disk with a speed of at least 10 M per second. The internal fast SCSI drive in a PowerMac is fine, but the external standard SCSI ports aren‚Äôt!
  233.  
  234.  
  235. Video Capture Cards                                                                                               
  236.  
  237. ¬†               If you haven‚Äôt got a PowerMac, or if you need more advanced facilities, you‚Äôll 
  238.                 need a video capture card. Older cards may only work at an awfully slow frame 
  239.                 rate such as 15 frm/s. For good results you‚Äôll need a rate of 24 to 30 frm/s.
  240.  
  241. Modern cards can sample full-format video, with an image of 640 x 480 or 768 x 576 pixels at a frame rate of 30 or 25 frm/s for NTSC and PAL respectively. A typical PCI video card has two sets of video and stereo sound inputs and outputs.  Separate cards containing a video tuner are also available. 
  242.  
  243. For MPEG movies you‚Äôll need to fit a MPEG card into the Digital Audio Video (DAV) slot on an AV Mac‚Äôs motherboard. Some AV models come with an Apple Video System card already installed in this slot. Future versions of QuickTime will support MPEGs without a card ‚Äî but you‚Äôll need a 100 MHz PowerMac or better.
  244.  
  245.  
  246. Connections                                                                                                          
  247.  
  248. AV Macs and some PowerMacs can be connected directly to other video devices, such as cameras and video cassette recorders (VCRs) ‚Äî and can be used for video conferencing.
  249.  
  250. In a composite video circuit a single wire (plus screen) carries the picture information ‚Äî but since the colours are mixed together there‚Äôs more chance of picture degradation. Both composite video and audio circuits are usually connected by means of phono (PIN) plugs.
  251.  
  252. In a component video circuit each element of the signal is sent down a separate wire. The universal S-video system used on Super   -VHS VCRs employs YUV 4:2:2 colour coding and uses 4 way mini-DIN plugs that mate with the 7 way sockets necessary for camera circuits. 
  253.  
  254. For best results always use the component video connections between the source, usually a camera or VCR, and the Mac‚Äôs video input ‚Äî and between the Mac‚Äôs output and the final destination, usually a VCR or video monitor.
  255.  
  256.  
  257. The Digitising Process                                                                                             
  258.  
  259. ¬†                For working with movies you‚Äôll need a QuickTime editing application such as  
  260.                  Premiere (Adobe). The Apple Video Player as supplied with some AVs and 
  261.                  PowerMacs is best avoided!
  262.  
  263. Whilst digitising images you should avoid unnecessary system software ‚Äî turn off AppleTalk, disable extra extensions and control panels and then restart your Mac. Always defragment the drive prior to a sampling session!
  264.  
  265. If you‚Äôre using component video inputs you should select the Component Video compressor in the Video Settings window of the QuickTime editor. On a PowerMac you should set the monitors to millions of colours and use 16-bit audio sampling at 44.1 kHz ‚Äî this avoids time-consuming computations for colour and bit rate conversions.
  266.  
  267.  
  268. Interlace Problems                                                                                                  
  269.  
  270. The interlaced form of scanning used in video equipment can cause problems when you connect the non-interlaced video outputs of a computer to another video device ‚Äî for example, a TV monitor image will jitter up and down at frame rate! This can be overcome by using a computer (such as an AV or PowerMac) or video card that provides a convolved video output. This smoothes adjacent lines to reduce flicker, but with a loss in horizontal resolution. The same problem can occur when feeding video material into a computer device ‚Äî fortunately most Macintosh software accommodates it!
  271.  
  272.  
  273.  
  274. Video Editing
  275. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  276.  
  277. ¬†               Any Mac with suitable hardware can also control other video equipment for 
  278.                 work with video editing. This may involve one or more video recorders, video 
  279.                 cassette recorders (VCRs) or a Laser Videodisc. Ideally, the mechanisms of all these 
  280.                 devices should be controlled from the Mac via suitable software and hardware.
  281.  
  282. For editing, the Mac must know the exact point in a recording to make the edit! Some Sony 8 mm camcorders have a Control-L socket that allows the tape to be marked to an accuracy of one second, which is then interpolated to ¬± 5 video frames. More advanced equipment uses ViSCA (Video System Control Architecture) for ¬±1 frame accuracy. Such devices may come with a serial port ‚Äî in other instances you‚Äôll need a V-box to connect to a Mac to a Control-L socket or ViSCA connector.
  283.  
  284. Broadcast standard equipment usually uses timecode in SMPTE form (recorded on a spare sound track on the video recorder) or as VITC (combined into the video signal) for accurate editing. On most VCR formats the audio Frequency Modulation (FM or AFM) tracks for hi-fi sound can‚Äôt be used separately for recording after an initial video recording ‚Äî preventing you from using them to add extra sounds or SMPTE timecode.
  285.  
  286. The linear tracks for standard quality sound can be used on their own at any time ‚Äî although the quality is rather poor and may be unreliable for timecode. Fortunately most Pulse Code Modulation (PCM) tracks for digital sound can also be recorded separately.
  287.  
  288. √π See the Music chapter for about timecode
  289.  
  290.  
  291.  
  292.  
  293. Generic Movie Documents
  294. qqqqqqqqqqqqqqqqqqq
  295.  
  296.  
  297. QuickTime‚Ñ¢ Movie (MooV)                                                                                    
  298.  
  299. ¬†             A movie file can be played by any application that supports QuickTime ‚Äî but
  300.               you must put the QuickTime‚Ñ¢ file in the Extensions folder!
  301.  
  302.  
  303.  
  304. √ë   Some applications add a preview image or a custom icon based on the first image.
  305.  
  306. √ë   SimpleText is a perfectly good QuickTime viewer!
  307.  
  308. √ë   General-purpose applications such as ClarisWorks let you view QuickTime movies 
  309.           within a document. You can stop the movie and Copy the stationary image.
  310.  
  311. Àù    PCs use a filename extension of .MOV.
  312.  
  313.  
  314.  
  315. Motion Picture Experts Group file (MPEG)                                                                  
  316.  
  317. ¬†            You‚Äôll need to play these files for play full-motion video on CD-ROM. 
  318.              They need a MPEG application and a special card inside your Mac (or the 
  319.              promised new version of QuickTime). 
  320.  
  321.  
  322.  
  323. ¬©Ray White. All Rights Reserved 1997